package com.wen.yygh.hosp.repository;

import com.wen.yygh.model.hosp.Department;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @author Wenjl
 */
public interface DepartmentRepository extends MongoRepository<Department, String> {
    Department findDepartmenByHoscodeAndDepcode(String hoscode, String depcode);

    Department findDepartmentByDepcode(String depcode);
}
